/*******************************************************************************
 * Copyright (c) 2013 Zero Square LLC.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Zero Square LLC. Version 1
 * which accompanies this distribution
 ******************************************************************************/
package com.zsqr.dashboard.domain;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * POJO object to send XML request to payment gateway
 * @author Saurabh
 *
 */
@XmlRootElement(name="GatewayResponse")
public class CreditSaleResponse implements Serializable{
	
	private static final long serialVersionUID = -4213719328738284886L;
	

	private int ResponseCode;
	private String ResponseDescription = null;
	private long TransactionID;
	private double Amount;
	private String CardType = null;
	private String MaskedAcctNum = null;
	private String ExpDate = null;
	private String AcctNumSource = null;
	private String ProcessorResponse = null;
	private String BatchNum = null;
	private double BatchAmount;
	private long ApprovalCode;
	private long CommercialCardResponseCode;
	private String AVSResponseCode = null;
	private String CardCodeResponse = null;
	
	@XmlElement(name = "ResponseCode")
	public int getResponseCode() {
		return ResponseCode;
	}
	public void setResponseCode(int responseCode) {
		ResponseCode = responseCode;
	}
	@XmlElement(name = "ResponseDescription")
	public String getResponseDescription() {
		return ResponseDescription;
	}
	public void setResponseDescription(String responseDescription) {
		ResponseDescription = responseDescription;
	}
	@XmlElement(name = "TransactionID")
	public long getTransactionID() {
		return TransactionID;
	}
	public void setTransactionID(long transactionID) {
		TransactionID = transactionID;
	}
	
	@XmlElement(name = "Amount")
	public double getAmount() {
		return Amount;
	}
	public void setAmount(double amount) {
		Amount = amount;
	}
	
	@XmlElement(name = "CardType")
	public String getCardType() {
		return CardType;
	}
	public void setCardType(String cardType) {
		CardType = cardType;
	}
	
	@XmlElement(name = "MaskedAcctNum")
	public String getMaskedAcctNum() {
		return MaskedAcctNum;
	}
	public void setMaskedAcctNum(String maskedAcctNum) {
		MaskedAcctNum = maskedAcctNum;
	}
	
	@XmlElement(name = "ExpDate")
	public String getExpDate() {
		return ExpDate;
	}
	public void setExpDate(String expDate) {
		ExpDate = expDate;
	}
	
	@XmlElement(name = "AcctNumSource")
	public String getAcctNumSource() {
		return AcctNumSource;
	}
	public void setAcctNumSource(String acctNumSource) {
		AcctNumSource = acctNumSource;
	}
	
	@XmlElement(name = "ProcessorResponse")
	public String getProcessorResponse() {
		return ProcessorResponse;
	}
	public void setProcessorResponse(String processorResponse) {
		ProcessorResponse = processorResponse;
	}
	
	@XmlElement(name = "BatchNum")
	public String getBatchNum() {
		return BatchNum;
	}
	public void setBatchNum(String batchNum) {
		BatchNum = batchNum;
	}
	
	@XmlElement(name = "BatchAmount")
	public double getBatchAmount() {
		return BatchAmount;
	}
	public void setBatchAmount(double batchAmount) {
		BatchAmount = batchAmount;
	}
	
	@XmlElement(name = "ApprovalCode")
	public long getApprovalCode() {
		return ApprovalCode;
	}
	public void setApprovalCode(long approvalCode) {
		ApprovalCode = approvalCode;
	}
	
	@XmlElement(name = "CommercialCardResponseCode")
	public long getCommercialCardResponseCode() {
		return CommercialCardResponseCode;
	}
	public void setCommercialCardResponseCode(long commercialCardResponseCode) {
		CommercialCardResponseCode = commercialCardResponseCode;
	}
	
	@XmlElement(name = "AVSResponseCode")
	public String getAVSResponseCode() {
		return AVSResponseCode;
	}
	public void setAVSResponseCode(String aVSResponseCode) {
		AVSResponseCode = aVSResponseCode;
	}
	
	@XmlElement(name = "CardCodeResponse")
	public String getCardCodeResponse() {
		return CardCodeResponse;
	}
	public void setCardCodeResponse(String cardCodeResponse) {
		CardCodeResponse = cardCodeResponse;
	}
	
		
}
